/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package schoolLink;

/**
 *
 * @author Admin
 */
public class Constant {
    public static final int ACTION_LOGIN_LOGIN = 0;  
    public static final int ACTION_MAIN_LIST = 1; 
    //ERROR---------------------------------------------------------------------
    public static final int ERROR_LOGIN_SUCCESS           = 0;
    public static final int ERROR_LOGIN_NULL_USER_PASS    = 1;
    public static final int ERROR_LOGIN_IVALID_USER_PASS  = 3;
    public static final int ERROR_LOGIN_ERROR             = 4;
    
    public static final int ERROR_LIST_SUCCESS           = 0;
    public static final int ERROR_LIST_NULL              = 1;
    //RMS-----------------------------------------------------------------------
    public static final String RMW_NEWS                  = "SLNEW";
    public static final String RMW_NEWS_FAVORITE         = "SLFAV";
    public static final char RMW_NEWS_SPLITCHAR          = '|';
    public static final char RMW_NEWS_CHAR_NEW      = 'n';
    public static final char RMW_NEWS_CHAR_READ     = 'r';
    public static final char RMW_NEWS_CHAR_SAVE     = 's';
      
    public static final int NEWS_MAX_UNREAD              = 10;
    public static final int NEWS_MAX_READED              = 10;
    public static final int NEWS_MAX_FAVORITE            = 10;
    //URL-----------------------------------------------------------------------
    public static final String URL_LOGIN_LOGIN = "http://123.30.17.109/vasreport/app/login.jsp?username=%s&password=%s"; 
    public static final String URL_MAIN_LISTNEWS = "http://123.30.17.109/vasreport/app/getSMS.jsp?username=%s&password=%s"; 
    //String--------------------------------------------------------------------
    public static final String STRING_APP_CONFIRM_EXIT = "Bạn muốn thoát ứng dụng?";  
}
